# -*- coding:UTF-8 -*- #

import pymongo

class Db:

    def conMongo():

        conn = pymongo.MongoClient('localhost', 27017)
        db = conn.mydb

        my_db = db.Test
        # my_db.insert({"name":"zhangsan","age":18})

        return my_db;
